﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;
using Model;
namespace UI.system
{
    public partial class addimg : System.Web.UI.Page
    {
        public ImgInfo product = new ImgInfo();
        public int id = JobRequest.GetRequestInt("id");
        public int typeid = 0;
        public List<ImgTypeInfo> imgtype = new List<ImgTypeInfo>();
        protected void Page_Load(object sender, EventArgs e)
        {
            product = ImgDAL.FindOneById(id);
            typeid = DataConvert.ToInt(JobRequest.GetRequestInt("typeid"));
            imgtype = ImgTypeDAL.FindAll();
        }
    }
}